<?php
class AlterMsgWidget extends CWidget
{
    public $isLogin = false;
    public function init()
    {
        parent::init();
    }

    public function run()
    {
        if ($this->isLogin) {
            $this->render('LoginAlterMsg');
        } else {
            $this->render('AlterMsg');
        }
    }
}
?>
